//
//  KeyboardView.h
//  CAShapeLayerDemo
//
//  Created by XFB on 2017/12/1.
//  Copyright © 2017年 ZhouCheng. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface KeyboardView : UITextView

/**
 输入框最大显示行数
 */
@property (nonatomic, assign) int maxNumberOfRowsToShow;

/**
 * 输入框改变block(文字高度改变会自动调用)
 * text 输入框内容
 * textHeight 输入框内容得人高度
 */
@property (nonatomic, copy) void(^zc_TextHeightChangeBlock)(NSString *text, CGFloat textHeight);

/**
 设置输入框圆角
 */
@property (nonatomic, assign) NSInteger cornerRadius;

/**
 设置占位文字
 */
@property (nonatomic, strong) NSString *placeholder;

/**
 设置占位文字颜色
 */
@property (nonatomic, strong) UIColor *placeholderColor;

@property (nonatomic, weak) UITextView *placeholderView;   ///输入框


@end
